package com.csw.empGrey2.service;

import java.util.List;

import com.csw.empGrey2.entity.Emp;

/**
 * @author 1
 */
public interface EmpService {

	Emp findByCardId(Integer cardId);

	void deleteAccount(Integer cardId);

	void updateBy(Emp emp);

	void addEmp(Emp emp);

	Integer countPage(Integer pageSize);

	List<Emp> queryAllAndByPage(Integer currPage, Integer pageSize, Integer countPage);
}
